\documentclass[letterpaper,12pt]{article}
\usepackage[top=1in,left=1in,right=1.5in,bottom=1in]{geometry} % ,headheight=1in,headsep=1in
\usepackage{fancyhdr}
%opening
%my generating signature page.  This will generate a LaTeX signature page for the UNM dissertation.  Use external PDF tools to replace the first page of the dissertation with the completed form of this document for maximum cred.
%edit everywhere you see the # symbol to personalize this file


\pagenumbering{roman}
%Numbers in lowercase roman numerals

%\pagenumbering{gobble}
%Clears the page number 

% Show page number on the right header. 
%\setcounter{page}{1}
\fancypagestyle{plain}{%
\fancyhf{} % clear all header and footer fields
\fancyhead{} % clear all header fields
\fancyfoot{} % clear all footer fields
\fancyhead[RO]{\thepage}
%\fancyhead[LE]{\thepage}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
}
\pagestyle{plain}
\begin{document}
%\vspace{0.5in}
 \begin{Large}
 \noindent Xiaodong Qi 
 % # Add your name here
 \vspace{-0.2in}
 \end{Large}

 \noindent\makebox[\linewidth][l]{\rule{3.1in}{1pt}}
  \textit{Candidate} \vspace{0.2in}
 
 \begin{Large}
 \noindent Physics and Astronomy
 %# add your degree title
 \vspace{-0.2in}
 \end{Large}
 
  \noindent\makebox[\linewidth][l]{\rule{3.1in}{1pt}} 
  %[l] is the justification (left)
    \textit{Department, The University of New Mexico} \vspace{0.2in}
 
 
   \noindent This dissertation is approved, and it is acceptable in quality and form for publication: \vspace{0.2in}
\begin{large}
 \noindent \textit{Approved by the Dissertation Committee:} \vspace{0.45in}
 \end{large}
 

% #Copy a new version of these 5 lines for every new committee member

 \noindent\makebox[\linewidth]{\rule{5.5in}{1pt}}
 
  \hfill Dr. Ivan H. Deutsch, Chair \vspace{0.35in}
  
  

  \noindent\makebox[\linewidth]{\rule{5.5in}{1pt}}
   
   \hfill Dr. Sudhakar Prasad  \vspace{0.35in}
 
 
  \noindent\makebox[\linewidth]{\rule{5.5in}{1pt}}
  
    \hfill Dr. Poul S. Jessen  \vspace{0.35in}
 
 

  \noindent\makebox[\linewidth]{\rule{5.5in}{1pt}}
    
    \hfill Dr. Arash Mafi  \vspace{0.05in}
    
      
Defended April 18th, 2018.
 
\end{document}
